package com.sinping.qh.repository.mongo;

import com.sinping.qh.domain.user.MessageInfoDomain;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author zhangjin
 * @create 2018/5/28
 */
public interface MessageInfoRepository extends MongoRepository<MessageInfoDomain,String> {

    MessageInfoDomain findMessageInfoDomainByDocId(String docId);

    MessageInfoDomain findMessageInfoDomainByIdAndStatus(String id,String status);
}
